package com.itheima.design.mode.builder;

/**
 * 创建者模式
 */
public class Main {

    public static void main(String[] args) {

        User user = User.builder().age(20).name("wql").password("123").nickName("wql").build();
        System.out.println(user);
    }
}
